﻿using System.Runtime.Serialization;

namespace MyAMS.WebServer.Models
{
    /// <summary>
    /// 有名称的数据模型
    /// </summary>
    [DataContract]
    public class NamedEntity : BaseEntity
    {
        /// <summary>
        /// 获取或设置名称
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// 获取或设置显示名称
        /// </summary>
        [DataMember]
        public string DisplayName { get; set; }
    }
}
